home *** CD-ROM | disk | FTP | other *** search
Text File | 1997-02-13 | 2.2 KB | 95 lines | [TEXT/MPS ] |
- //# Copyright: © 1993 - 1995 by Apple Computer, Inc., all rights reserved.
-
- #ifndef _MSSGINTF_
- #define _MSSGINTF_
-
- #ifndef _ODOBJECT_
- #include "ODObject.idl"
- #endif
-
- //==============================================================================
- // Classes defined in this interface
- //==============================================================================
-
- interface ODMessageInterface;
-
- //==============================================================================
- // Classes used by this interface
- //==============================================================================
-
- interface ODFrame;
- interface ODPart;
- interface ODAppleEvent;
- interface ODAddressDesc;
- interface ODObjectSpec;
-
-
- //==============================================================================
- // ODMessageInterface
- //==============================================================================
-
- interface ODMessageInterface : ODObject
- {
- void CreatePartAddrDesc(out ODAddressDesc theAddressDesc,
- in ODPart part);
-
- void CreatePartObjSpec(out ODObjectSpec theObjSpec,
- in ODPart thePart);
-
- ODSShort CreateEvent(in ODEventClass theAEEventClass,
- in ODEventID theAEEventID,
- in ODAddressDesc target,
- in ODSLong transactionID,
- out ODAppleEvent theResult);
-
- void Send(in ODFrame toFrame,
- in ODPart fromPart,
- in ODAppleEvent theAppleEvent,
- in ODAppleEvent reply,
- in ODSendMode sendMode,
- in ODSendPriority sendPriority,
- in ODULong timeOutInTicks);
-
- ODBoolean ProcessSemanticEvent(in ODEventData theEvent);
-
-
- #ifdef __SOMIDL__
- implementation
- {
- majorversion = 1; minorversion = 0;
-
- functionprefix = ODMessageInterface;
-
- override:
- somUninit;
- releaseorder:
- CreateEvent,
- CreatePartAddrDesc,
- CreatePartObjSpec,
- Send,
- ProcessSemanticEvent,
- reserved1,
- reserved2,
- reserved3,
- reserved4,
- reserved5,
- reserved6,
- reserved7,
- reserved8,
- reserved9,
- reserved10,
- reserved11,
- reserved12,
- reserved13,
- reserved14,
- reserved15,
- reserved16,
- reserved17,
- reserved18;
-
- };
- #endif //# __SOMIDL__
- };
-
- #endif //# _MSSGINTF_
-